package com.yykj.user.center.server.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/16 23:11
 */
@Data
public class AddRelationGroupPatient {

    //    @NotBlank(message = "请传入就诊卡Id")
//    private String patientCardId;
    @NotNull(message = "请传入就诊卡")
    private List<String> patientCardIds;

    @NotBlank(message = "请传入分组或标签Id")
    private String groupId;

    @NotNull(message = "请传入医院Id")
    private Integer hospitalId;

    @NotBlank(message = "请传入医生Id")
    private String doctorId;

    @NotNull(message = "请传入类型")
    @ApiModelProperty("类型：1分组 2标签")
    private Integer type;

}
